﻿<%@ Page Language="C#" AutoEventWireup="true" MasterPageFile="~/Site.Master" CodeBehind="ReviewOrder.aspx.cs" Inherits="CarRental.View.Order.ReviewOrder" %>

<asp:Content runat="server" ID="BodyContent" ContentPlaceHolderID="MainContent">
    <form runat="server" id="Form1">
        <fieldset>
            <legend>View Order</legend>
            <table id="t_Teport" runat="server">
                <tr>
                    <td>
                        <asp:Label ID ="lblOrderNo" runat="server" Text="Order No" />
                    </td>
                    <td>
                        <asp:Label ID ="lblOrderStatus" runat="server" Text="Order Status" />
                    </td>
                </tr>
                <tr>
                    <td>
                        <asp:TextBox ID="tbOrderNo" runat="server"></asp:TextBox>
                    </td>
                     <td>
                         <asp:DropDownList ID="ddlOrderStatus" runat="server"></asp:DropDownList>
                    </td>
                </tr>
                 <tr>
                    <td>
                        <asp:Button ID="btnSearch" runat="server" Text="Search" OnClick="btnSearch_Click" />
                    </td>
                </tr>
                <tr>
                    <td align="center">
                        <asp:GridView ID="gv_OrderList" runat="server" AutoGenerateColumns="False" DataKeyNames="id" OnRowCommand="gv_OrderList_RowCommand">
                            <Columns>
                                <asp:ButtonField ButtonType="Image" CommandName="Edit" Text="Edit" ImageUrl="../../images/Edit.jpg" />
                                <asp:BoundField DataField="order_no" HeaderText="order_no" SortExpression="order_no" />
                                <asp:BoundField DataField="customer_id" HeaderText="customer_id" SortExpression="customer_id" />
                                <asp:BoundField DataField="invoice_date" HeaderText="invoice_date" SortExpression="invoice_date" />
                                <asp:BoundField DataField="status" HeaderText="status" SortExpression="status" />
                                <asp:BoundField DataField="order_price" HeaderText="order_price" SortExpression="order_price" />
                                <asp:BoundField DataField="discount" HeaderText="discount" SortExpression="discount" />
                                <asp:BoundField DataField="last_updated_by" HeaderText="last_updated_by" SortExpression="last_updated_by" />
                                <asp:BoundField DataField="last_update_date_time" HeaderText="last_update_date_time" SortExpression="last_update_date_time" />
                            </Columns>
                        </asp:GridView>
                    </td>
                </tr>
     
            </table>
        </fieldset>
    </form>
    </asp:Content>
